package com.pocket.demo.base.config;

import com.pocket.demo.core.mybatis.CommonPropertiesInterceptor;
import org.apache.ibatis.plugin.Interceptor;
import org.springframework.context.annotation.Configuration;

/**
 * @author cookie.
 **/
@Configuration
public class MybatisConfig {

    /**
     * 【demo-MybatisPlus-3.2】
     * @return
     */
    // @Bean
    public Interceptor modelCommonInfoInterceptor(){
        return new CommonPropertiesInterceptor();
    }
}
